Philipp Rehm
rehm.16@osu.edu
philipp.rehm@gmail.com
December 9, 2019

This is the replication file for "Reducing Risk as well as Inequality: Assessing the Welfare State's Insurance Effects" (Jacob Hacker & Philipp Rehm), to appear in the British Journal of Political Science.

Syntax files have been executed sequentially (roughly in the order listed), and separate log-files are available for each syntax file.
All syntax files were executed with Stata/MP 15.1 for Windows (64-bit x86-64) [Revision 26 Aug 2019].
Some user-written commands are used (see "adodir" in the log-files for list of installed user-written commands).

To execute syntax files, set working directory to ./BJPS2020/. (in my case D:\E\replications\BJPS2020/).


*********************
**** Data preparation
*********************
// Note: several micro-level panel data are licensed
// These were stored in sub-folders "./licensed"

* CNEF (= BHPS, UKHLS, PSID, HILDA, SHP, SOEP, SLID)
./BJPS2020/rawdata/cnef/cnef_1970-2014.do
./BJPS2020/rawdata/cnef/cnef_1970-2014_data.txt
./BJPS2020/rawdata/cnef/cnef_1970-2014_ESIs.txt
// Note: Slid result-set was built by Statistics Canada

* CPS
./BJPS2020/rawdata/cps/drops_cps.do
./BJPS2020/rawdata/cps/drops_cps.txt
// Note: CPS matched files were built by Austin Nichols (austinnichols@gmail.com) and Stuart Craig (stucraig@upenn.edu; then at Yale University)

* ECHP
./BJPS2020/rawdata/echp/echp_yale.do
./BJPS2020/rawdata/echp/echp_yale_data.txt
./BJPS2020/rawdata/echp/echp_yale_ESIs.txt
// Note: ECHP files were assembled/converted from CSV to Stata by Stuart Craig (stucraig@upenn.edu; then at Yale University)

* SILC
./BJPS2020/rawdata/silc/yale_eu-silc_july2019.do
./BJPS2020/rawdata/silc/yale_eu-silc_july2019_data.txt
./BJPS2020/rawdata/silc/yale_eu-silc_july2019_ESIs.txt


**********************
**** Figures & Tables
**********************

// Assemble resultsets from different data-sources
./BJPS2020/resultsets/resultset_drops.do
./BJPS2020/resultsets/resultset_drops.txt

// Figures 1, 4, 5, appendix-Table 1
./BJPS2020/resultsets/figures_1_4_5.do
./BJPS2020/resultsets/figures_1_4_5.txt

// Figures 2 & 6
./BJPS2020/resultsets/figures_2_6.do
./BJPS2020/resultsets/figures_2_6.txt

// Figure 3
./BJPS2020/resultsets/figure_3.do
./BJPS2020/resultsets/figure_3.txt

// Resultset with income drops:
./BJPS2020/resultsets/resultset_drops.dta
./BJPS2020/resultsets/resultset_drops_label.xls
./BJPS2020/resultsets/resultset_drops_name.xls

